<template>
  <view class="container">
    <scroll-view scroll-y="true" style="width: 100%; height: 100vh">
      <view class="item" v-for="index in 6" :key="index">
        <!-- 评分 -->
        <view class="header">
          <image src="../../static/img/mystudent.png" mode="aspectFill" style="width: 60rpx; height: 60rpx"></image>
          <view style="margin: 0 16rpx 0 18rpx; font-size: 28rpx; font-family: PingFang SC, PingFang SC; font-weight: bold; color: #222222">六月</view>
          <uni-rate allow-half :value="3.5" readonly size="20" color="#666666" activeColor="#F34915" :isFill="false" />
        </view>
        <!-- 评价 -->
        <view class="pingjia">我的评价内容我的评价内容我的评价内容我的评价 内容</view>
        <view class="date">初中数学-2023-02-01</view>
      </view>
    </scroll-view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="scss" scoped>
.container {
  box-sizing: border-box;
  .item {
    box-sizing: border-box;
    width: 710rpx;
    height: 254rpx;
    margin: 20rpx;
    padding: 20rpx 30rpx;
    background: #ffffff;
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    border: 2rpx solid #f1f1f1;
    .header {
      display: flex;
      align-items: center;
    }
    .pingjia {
      box-sizing: border-box;
      width: 616rpx;
      height: 80rpx;
      margin: 20rpx 0rpx 10rpx 0rpx;
      font-size: 28rpx;
      font-family: PingFang SC, PingFang SC;
      font-weight: 500;
      color: #333333;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .date {
      display: flex;
      justify-content: flex-end;
      font-size: 24rpx;
      font-family: PingFang SC, PingFang SC;
      font-weight: 500;
      color: #666666;
    }
  }
}
</style>
